home *** CD-ROM | disk | FTP | other *** search
/ MacFormat España 26 / macformat_26.iso / Shareware / Programación / CDEF Set #1 / Extras / Demo App Project Files / Globals.h < prev   
Text File  |  1996-10-10  |  3KB  |  84 lines

  1. // Globals.h
  2.  
  3. #ifndef __GLOBALS__
  4. #define __GLOBALS__
  5.  
  6. struct numbers
  7. {
  8.     long    numA, numC, numG, numT, numK, numM, numR, numS, numY, numW;
  9.     long     naa, nac, nag, nat;
  10.     long     nca, ncc, ncg, nct;
  11.     long     nga, ngc, ngg, ngt;
  12.     long     nta, ntc, ntg, ntt;
  13.     float    CQ, DD, TO, TS, GL, GK, D;
  14.     float    CR, CS, CT, C;
  15.     float   NC, NA, NY;
  16.     long    HT, GT;
  17. };
  18. typedef struct numbers *numbersPtr;
  19.  
  20. struct UserRec {
  21.     float        gSaltConc;        // part of TmCalcParamters dialog, holds salt conc.
  22.     float         gProbeConc;        // part of TmCalcParamters dialog, holds probe conc.
  23.     Str255        gName;            // part of CustomerInfo dialog, holds user name
  24.     Str255        gCompany;        // part of CustomerInfo dialog, holds user company
  25.     Str255        gAddress;        // part of CustomerInfo dialog, holds user address
  26.     Str255        gPhone;            // part of CustomerInfo dialog, holds user phone number
  27.     Str255        gFax;            // part of CustomerInfo dialog, holds user fax number
  28.     Str255        gPONum;            // part of CustomerInfo dialog, holds user po number for ordering
  29.     Str255        gProbeName;            // TEBox 3 in the main window, stores name of user's probe
  30.     Str255        gDate;                // TEBox 4 in the main window, stores date probe was created
  31.     Str255        gNote;                // TEBox 5 in the main window, stores any notes the user wants to enter
  32.     Str255        gSequence;
  33.     Str255        gReporter;            // TEBox 7 in the main window
  34.     Str255        gQuencher;            // TEBox 8 in the main window
  35.     float        gLength;            // TEBox 19 in the main window
  36.     float        gFormulaWt;
  37.     float        gPercentgc;            // TEBox 20 in the main window
  38.     float        gTd;                // TEBox 22 in the main window
  39.     float        gTemp;
  40.     float        gA26;                // TEBox 23 in the main window
  41.     float        gDilution;            // TEBox 24 in the main window
  42.     float        gDNAOnlyMC;            // TEBox 25 in the main window
  43.     float        gDNADyesMC;            // TEBox 26 in the main window
  44.     float        gDNAOnlyuMC;         // TEBox 27 in the main window
  45.     float        gDNADyesuMC;        // TEBox 28 in the main window
  46.     short        gRefCounter;        // used to count stuff for ref dye
  47.     short        gQueCounter;        // used to count stuff for quencher dye
  48.     float        gFormamide;            // FM
  49.     float        gGlycerol;            // GL
  50.     float        gDangling;            // KK
  51.     float        gMg;                // MG
  52.     Boolean        gSelf;                // Q
  53.     short        gRxnType;            // II
  54.     float        gFilterTime;        // filter washing time for filter hybridization
  55.     float        gDeltaG;
  56.     float        gDeltaH;
  57.     float        gTdFilter;
  58.     float        gHybridTime;
  59.     float        gA;
  60.     float        gC;
  61.     float        gG;
  62.     float        gT;
  63.     float        gK;
  64.     float        gM;
  65.     float        gR;
  66.     float        gS;
  67.     float        gW;
  68.     float        gY;
  69.     float        gRegistered;
  70.     FSSpec        gFSSpec;
  71.  
  72. };
  73. typedef struct UserRec UserRec;
  74.  
  75. extern        Boolean        gDone;
  76. extern        short        gIsInAboutMenu;
  77. extern        UserRec        gPrefs;
  78. extern         Boolean        gSave;            // restore same sequence next time? read from prefs
  79. extern        Boolean        gStartup;        // open a new document on startup? read from prefs
  80. extern        Boolean        gSpeak;            // speak sequence aloud as it is typed? read from prefs
  81. extern        Boolean        gIsRegistered;    // not a registed user
  82.  
  83. #endif
  84.